import axios from "../utils/axios/axios";
import api from "./api";

export const getswiperlist = (params) =>
  axios({
    method: "get",
    url: api.home.swiperlist,
    params,
  });
// export const getswiperlist = (params) => {
//   let url = api.home.swiperlist;
//   console.log(params);
//   return axios.get(url, params);
// };
export const getservicelist = (params) =>
  axios({
    method: "get",
    url: api.home.servicelist,
    params,
  });
